﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Dx.Proj.EntityFrameworkCore;

public class ProjHttpApiHostMigrationsDbContext : AbpDbContext<ProjHttpApiHostMigrationsDbContext>
{
    public ProjHttpApiHostMigrationsDbContext(DbContextOptions<ProjHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureProj();
    }
}
